package com.punch.common.vo.course;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * CoursePageVO-教室列表信息 展示vo
 *
 * @author xiaol
 * @version 1.0.0
 * @since 2020/7/21
 */
@Data
public class ClassRoomPageVO implements Serializable {

    @ApiModelProperty(name = "classRoomId", notes = "教室主键id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long classRoomId;

    /**
     * 课程名称
     */
    @ApiModelProperty(name = "classRoomName", notes = "教室名称")
    private String classRoomName;

    /**
     * 教室容纳人数 （人）
     */
    @ApiModelProperty(name = "classRoomCapacity", notes = "教室容纳人数 （人）")
    private Integer classRoomCapacity;


    /**
     * 是否禁用 0：禁用  1启用
     */
    @ApiModelProperty(value = "0：禁用  1启用")
    private Integer enabled;

    /**
     * 所属地区Name
     */
    @ApiModelProperty(name = "areaName", notes = "所属地区Name")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String areaName;

    /**
     * 所属地区Name
     */
    @ApiModelProperty(name = "schoolName", notes = "学校名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String schoolName;

}
